<%--
  Created by IntelliJ IDEA.
  Dept: Gao
  Date: 2024/1/9
  Time: 11:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <%@ include file="header.jsp"%>
    <style>
        .center{
            padding-left: 15px;
            padding-right: 15px;
            padding-top: 5px;
        }
    </style>
</head>
<body class="center">
    <form action="/dept?method=update" method="post">
        <input type="hidden" value="${dept.id}" name="id"/>
        <div class="form-group">
            <label>部门名</label>
            <input type="text" class="form-control"  name="name" value="${dept.name}"/>
        </div>
        <div class="form-group">
            <label>地址</label>
            <input type="text" class="form-control"  name="address" value="${dept.address}"/>
        </div>
        <div class="form-group">
            <label>电话</label>
            <input type="text" class="form-control"  name="phone" value="${dept.phone}"/>
        </div>

        <input class="btn btn-primary" type="submit" value="编辑"/>
    </form>

</body>
</html>
